package com.weipai.springboot.module.service;

import com.weipai.springboot.model.Article;
import com.weipai.springboot.model.api.Response;

import java.util.List;
import java.util.Map;

/**
 * Created by ${lyh} on
 * 2018/8/24.
 *
 * 文章管理类
 */
public interface ArticleService {

    //新闻列表查询
    List<Article> selectAllByArticle(int articleStatus, String search, String way, String categoryId);

    //查询详情
    Response getArticleById(String articleId);

    //修改
    Response updateArticle(Article article);

    //文章的保存
    Response save(Article article);

    //文章的删除
    Response delete(String articleId);

    //文章分类列表
    Response articleCategoryList();
}
